package com.example.urmsadmin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (SysOrder)实体类
 *
 * @author makejava
 * @since 2023-02-24 16:49:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_order")
public class SysOrder implements Serializable {
    private static final long serialVersionUID = 223278122831630499L;

    @TableId(type = IdType.AUTO)
    private Long orderId;
    
    private Long userWalletId;
    /**
     * 0：充值 1：消费 2：退款 3：提现
     */
    private String transactionType;
    
    private BigDecimal transactionAmount;
    
    private Date createTime;
    
    private String remark;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getUserWalletId() {
        return userWalletId;
    }

    public void setUserWalletId(Long userWalletId) {
        this.userWalletId = userWalletId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public BigDecimal getTransactionAmount() {
        return transactionAmount;
    }

    public void setTransactionAmount(BigDecimal transactionAmount) {
        this.transactionAmount = transactionAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}

